home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000081_fdc@columbia.edu_Thu Mar 31 12:39:52 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: kermit-serial data
  5. Date: 31 Mar 2005 17:39:43 GMT
  6. Organization: Columbia University
  7. Lines: 39
  8. Message-ID: <slrnd4odev.6o6.fdc@sesame.cc.columbia.edu>
  9. References: <1112272007.665436.90620@z14g2000cwz.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1112290783 28340 128.59.59.56 (31 Mar 2005 17:39:43 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 31 Mar 2005 17:39:43 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15317
  17.  
  18. On 2005-03-31, vikrant.shahir@gmail.com <vikrant.shahir@gmail.com> wrote:
  19. : An ECG(Electro Cardio Graph) machine is connected to a COMM1 port and
  20. : is constantly outputing data.
  21. :
  22. : Well how can i read this data comming from serial device and store it
  23. : in a file using kermit.
  24. :
  25. First make the connection so that you see the right stuff coming on your
  26. screen.  Then, the easy way to record this stuff in a file is with the
  27. command:
  28.  
  29.    LOG SESSION
  30.  
  31. This creates a file named session.log in Kermit's current directory that
  32. contains a copy of all the characters that come in from the EKG.  Of course
  33. you can also specify a different name and/or location for the file, and
  34. if you wish you can also have the data appended to an existing file rather
  35. than creating a new file; e.g.:
  36.  
  37.   LOG SESSION C:/EKG/LOGS/20050331.LOG APPEND
  38.  
  39. Use the HELP command to get information about syntax and options of
  40. different commands, e.g. "help log".
  41.  
  42. : Well i am doing this for the first time and i do know this is not a
  43. : complicated problem. But a humble request to you all, do answer it when
  44. : you have free time .
  45. :
  46. : Clues :
  47. : 1] the serial device is configured using following
  48. :    set line , set speed , set flow,
  49. : 2] as a next step i need to read the values comming from that device
  50. : and store it in
  51. :    file.
  52. :
  53. The method above is the easiest, but other methods can give you more
  54. control over starting and stopping the log, filtering, and so forth.
  55.  
  56. - Frank